/*
 * ParseException.h
 *
 *  Created on: 19.10.2010
 *      Author: jilly
 */

#ifndef PARSEEXCEPTION_H_
#define PARSEEXCEPTION_H_

#include <exception>

using namespace std;

class ParseException : public exception
{
private:
	const char* message;
public:
	ParseException(const char* m = "Parse exception") : message(m) {}
	const char* what() const throw() { return message; }
};

#endif /* PARSEEXCEPTION_H_ */
